babl: make conversion to model double more generic
authorØyvind Kolås <pippin@gimp.org>
Sat, 18 Nov 2017 00:35:09 +0000 (01:35 +0100)
committerDebarshi Ray <debarshir@gnome.org>
Mon, 11 Dec 2017 13:36:57 +0000 (14:36 +0100)
commit31b4560d487fbd255578954e11cc64a1d5b75cf3
tree67c79ded8600a15d9df3e5e36084a2318fcb4ae1
parent0e7ef90454518d68148491d284db4cf367d3bd31
babl: make conversion to model double more generic

Iterate over the components of the model, and fetch the relevant
component from the source format or use a filler value if not found.

Some changes by Debarshi Ray.

https://bugzilla.gnome.org/show_bug.cgi?id=790860
babl/babl-fish-reference.c